package com.wzz.common.calendar.views.cells;

import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Rect;
import android.graphics.RectF;

import com.wzz.common.calendar.views.Cell;

public class BlueCell extends Cell {

  public BlueCell(int dayOfMon, Rect rect, float textSize) {
    super(dayOfMon, rect, textSize);
    paint.setColor(0xdddd0000);
  }

  protected void draw(Canvas canvas) {
    RectF rect = new RectF(bound);
    Paint paint1 = new Paint();
    paint1.setColor(0x1100dd00);
    canvas.drawRect(rect, paint1);
    canvas.drawText(String.valueOf(dayOfMonth), bound.centerX() - dx, bound.centerY() + dy, paint);
  }
  
}